#include "header_creater.h"
#include "header.h"

#include <string>

using std::string;

Ballade::SmartClient::Header& HeaderCreater::createEmptyHeader()
{
	return _header;
}

Ballade::SmartClient::Header& HeaderCreater::createHeader(const char *name)
{
	if(string(name, 4) == "1000")
	{
		_header.setName(name);
		_header.setBodyLength(12);
	}
	return _header;
}